package com.qianbao.service.money;

import com.qianbao.components.excepion.CommonException;

public interface ReadTimeService {

    /**
     * 跟新用户的阅读时长
     * @param customId
     * @param readTime
     * @throws CommonException
     */
    public void saveUserReadTime(String customId,String readTime) throws CommonException;


    /**
     * 查询用户的阅读时长
     * @param customId
     * @throws CommonException
     */
    public int findUserReadTime(String customId) throws CommonException;

}
